﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <script src="js/jquery-1.8.2.js"></script>
    <script src="js/vue.js"></script>
    <title></title>
</head>
<body>
<div class="dayin"></div>
</body>
</html>
<script type="text/javascript">
    $(function () {
        localStorage.setItem("token", $.getParam("token"));
        location.replace($.getParam("backurl"));
    })
    $.getParam = function (name) {
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
        var r = window.location.search.substr(1).match(reg);  //匹配目标参数
        if (r != null) return unescape(r[2]); return null; //返回参数值
    }
</script>
